package com.ruoyi.students.domain;


import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 学生信息对象 sm-students
 * 
 * @author ruoyi
 * @date 2021-05-11
 */
public class students extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long sid;

    /** 学号 */
    @Excel(name = "学号")
    private String sno;

    /** 姓名 */
    @Excel(name = "姓名")
    private String sname;

    /** 性别，1男，0女 */
    @Excel(name = "性别，1男，0女")
    private Integer ssex;

    /** 班级 */
    @Excel(name = "班级")
    private String sclass;

    /** 出生年月 */
    @Excel(name = "出生年月")
    private Integer birth;

    /** 家庭地址 */
    @Excel(name = "家庭地址")
    private String saddress;

    /** 所在院系 */
    @Excel(name = "所在院系")
    private String sdept;

    public void setSid(Long sid) 
    {
        this.sid = sid;
    }

    public Long getSid() 
    {
        return sid;
    }
    public void setSno(String sno) 
    {
        this.sno = sno;
    }

    public String getSno() 
    {
        return sno;
    }
    public void setSname(String sname) 
    {
        this.sname = sname;
    }

    public String getSname() 
    {
        return sname;
    }
    public void setSsex(Integer ssex) 
    {
        this.ssex = ssex;
    }

    public Integer getSsex() 
    {
        return ssex;
    }
    public void setSclass(String sclass) 
    {
        this.sclass = sclass;
    }

    public String getSclass() 
    {
        return sclass;
    }
    public void setBirth(Integer birth) 
    {
        this.birth = birth;
    }

    public Integer getBirth() 
    {
        return birth;
    }
    public void setSaddress(String saddress) 
    {
        this.saddress = saddress;
    }

    public String getSaddress() 
    {
        return saddress;
    }
    public void setSdept(String sdept) 
    {
        this.sdept = sdept;
    }

    public String getSdept() 
    {
        return sdept;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("sid", getSid())
            .append("sno", getSno())
            .append("sname", getSname())
            .append("ssex", getSsex())
            .append("sclass", getSclass())
            .append("birth", getBirth())
            .append("saddress", getSaddress())
            .append("sdept", getSdept())
            .toString();
    }
}
